﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请选择你的游戏角色：");
            Console.WriteLine("1.埃洛克 2.泰拉 3.卢卡斯 4.洛菲");
            int key = int.Parse(Console.ReadLine());

            switch (key)
            {
                case 1:
                    ALK();
                    break;
                case 2:
                    TL();
                    break;
                case 3:
                    LKS();
                    break;
                case 4:
                    LF();
                    break;
                default:
                    break;
            }


            
        }

        static void ALK()
        {
            AiLuoKe aiLuoKe = new AiLuoKe();

            Console.WriteLine("请输入用户名：");
            aiLuoKe.gamerName = Console.ReadLine();

            aiLuoKe.MSG();
            aiLuoKe.PrintMSG();
        }

        static void TL()
        {
            TaiLa taiLa = new TaiLa();

            Console.WriteLine("请输入用户名：");
            taiLa.gamerName = Console.ReadLine();
            taiLa.MSG();
            taiLa.PrintMSG();
        }

        static void LKS() 
        {
            LuKaSi luKaSi = new LuKaSi();

            Console.WriteLine("请输入用户名：");
            luKaSi.gamerName = Console.ReadLine();
            luKaSi.MSG();
            luKaSi.PrintMSG();
        }

        static void LF()
        {
            LuoFei luoFei = new LuoFei();

            Console.WriteLine("请输入用户名：");
            luoFei.gamerName = Console.ReadLine();
            luoFei.MSG();
            luoFei.PrintMSG();
        }
    }
}
